CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include_directories(${COMN_DIR}/include)
include_directories(${PROJECT_ROOT}/RtpCaster)
include_directories(${PROJECT_ROOT}/RtspCaster)
include_directories(${PROJECT_ROOT}/RtspRelay)

link_directories(${PROJECT_ROOT}/lib)
link_directories(${COMN_DIR}/lib)


aux_source_directory(. SOURCES)
add_executable(DemoRelay ${SOURCES})

if (MSVC)
	SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")
endif()

target_link_libraries(DemoRelay
	${LIB_PLATFORM}
	RtspRelay
	debug comnd optimized comn
	)

